<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <base href="<%=basePath%>"/>
    
    <title>员工信息</title>
    
	<link rel="stylesheet" href="css/four.css" type="text/css"/>
 	<script type="text/javascript" src="js/four.js"></script>
	<script type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
    
  </head>
  <body>
  
    <div class="topTitle">
  		<img src="images/main_28.gif"/>&nbsp;我的个人信息
  	</div>
<br/>
<form action="updateEmpInf" method="post">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="table01">
  <tr> 
    <td nowrap="nowrap" class="td_top" colspan="4">  以下为您的个人信息</td>
  </tr>
  <tr> 
    <td class="td_02" width="30%">
    <label class="lable_title">基本信息 </label> &gt;&gt;&gt;  <a href="Employee_pwd.jsp">修改密码</a>
    </td>
    <td class="td_01" width="15%" ></td>
    <td class="td_01" width="50%" colspan="2"><input type="hidden" name="employee.userPassword" value="${employee.userPassword}"/></td>
  </tr>
  <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">员工编号:</td>
    <td class="td_01" colspan="2">${employee.userId}<input type="hidden" name="employee.userId" value="${employee.userId}"/> </td>
  </tr>
  <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">姓&nbsp;&nbsp;&nbsp;名:</td>
    <td class="td_01" colspan="2">${employee.userName }<input class="input" type="hidden" id="name" name="employee.userName" value="${employee.userName }" /></td>
  </tr>
  <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">性&nbsp;&nbsp;&nbsp;别:</td>
    <td class="td_01" colspan="2">${employee.userSex}
    	<input type="hidden" name="employee.userSex" checked="checked" value="${employee.userSex}"/>
    </td>
  </tr>
  <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">生&nbsp;&nbsp;&nbsp;日:</td>
    <td class="td_01" colspan="2"><input class="Wdate" type="text" id="birthday" name="employee.userBirthday" value="<s:date name="%{employee.userBirthday}" format="yyyy-MM-dd" />" onclick="WdatePicker({skin:'ext'})" onblur="checkInfo()" readonly="readonly" size="30" /></td>
  </tr>
  <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">手&nbsp;&nbsp;&nbsp;机:</td>
    <td class="td_01" colspan="2"><input class="input" type="text" id="phone" name="employee.userPhone" value="${employee.userPhone}" onkeyup="checkInfo()" size="30" /> <label id="lblPhone"></label> </td>
   
  </tr>
  <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">办公电话:</td>
    <td class="td_01" colspan="2" ><input class="input" type="text" id="officetTel" name="employee.userOfficephone" value="${employee.userOfficephone}" onkeyup="checkInfo()" size="30" /><label id="lblofficetTel"></label></td>
  </tr>
  <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">邮&nbsp;&nbsp;&nbsp;箱:</td>
    <td class="td_01" colspan="2"><input class="input" type="text" id="email" name="employee.userEmail" value="${employee.userEmail}" onblur="checkInfo()" size="30" /><label id="lblEmail"></label></td>
  </tr>
  <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">地&nbsp;&nbsp;&nbsp;址:</td>
    <td class="td_01"  colspan="2"><input class="input" type="text" id="address" name="employee.userAddress" value="${employee.userAddress }" onkeyup="checkInfo()" size="30" /><label id="lblAddress"></label></td>
  </tr>
  <tr> 
    <td class="td_01"></td>
    <td class="td_01" align="center">学&nbsp;&nbsp;&nbsp;历:</td>
    <td class="td_01" colspan="2">${employee.userEducation}
    	<input type="hidden" name="employee.userEducation" value="${employee.userEducation}"/></td>
  </tr>
   <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">所属部门:</td>
   <td class="td_01" colspan="2"> ${employee.position.department.departmentName}</td>
  </tr>
   <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">职&nbsp;&nbsp;&nbsp;位:</td>
    <td class="td_01" colspan="2">${employee.position.positionName}
    	<input type="hidden" name="employee.position.positionId" value="${employee.position.positionId}"/>
    	<input type="hidden" name="employee.position.positionName" value="${employee.position.positionName}"/>
    </td>
  </tr>
   <tr> 
    <td class="td_01">&nbsp;</td>
    <td class="td_01" align="center">入职时间:</td>
    <td class="td_01" colspan="2">${employee.createStr}
    	<input type="hidden" name="employee.userCreatedate" value="${employee.createStr}"/>
    	<input type="hidden" name="employee.userJobstatus" value="${employee.userJobstatus}"/>
    </td>
  </tr>
   <tr> 
    <td class="td_01" colspan="4">&nbsp;</td>
  </tr>
</table>
<br/>
<table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td class="td_page">
        <div align="right">
           <input  type="submit" id="submitBtn" value="提  交" />&nbsp;&nbsp;&nbsp;&nbsp;
           	<input type="reset" value="重  置" /> 
		</div>
		</td>
      </tr>
</table>
</form>
</body>
</html>
